Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point contextExtension

Documentation

Extension allowing to register a new ContentExtensionFactory that will be used to add custom objects inside the rendering context.

Contribution Descriptors

  • Class: org.nuxeo.template.api.descriptor.ContextExtensionFactoryDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-template-rendering-jaxrs-7.10.jar /OSGI-INF/templateprocessor-contrib.xml
    <extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">
    
        <documentation>Adds helper function to manage REST resources urls
          <ul>
            <li>jaxrs.getResourceUrl(resourceName)</li>
          </ul>
        </documentation>
    
        <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
        </contextFactory>
    
      </extension>
  • nuxeo-template-rendering-core-7.10-HF02.jar /OSGI-INF/templateprocessor-contrib.xml
    <extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">
    
        <documentation>Adds Repository features in the context
          <ul>
            <li>core.getParent()</li>
            <li>core.getChildren()</li>
          </ul>
        </documentation>
    
        <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
        </contextFactory>
    
      </extension>